import Mock from "mockjs"
const homeData = Mock.mock(
  [
    {
      name:'admin',
      phone:'12345678912',
      email:'asdasdasd@qq.com',
      time: '2017.2.10',
      role: '超管'
    },
    {
      name:'admin1',
      phone:'1546546542',
      email:'sd546546asd@qq.com',
      time: '2017.2.10',
      role: '超管'
    },
    {
      name:'admin2',
      phone:'1513543542',
      email:'s6456456d@qq.com',
      time: '2017.2.10',
      role: '超管'
    },
    {
      name:'admin3',
      phone:'164562',
      email:'3543213d@qq.com',
      time: '2017.2.10',
      role: '超管'
    },
    {
      name:'admin4',
      phone:'13543212',
      email:'sfghdgfsd@qq.com',
      time: '2017.2.10',
      role: '超管'
    },
    {
      name:'admin5',
      phone:'13543212',
      email:'cxvcxv@qq.com',
      time: '2017.2.10',
      role: '超管'
    },
    {
      name:'admin6',
      phone:'13543212',
      email:'vxcv@qq.com',
      time: '2017.2.10',
      role: '超管'
    },
    {
      name:'admin7',
      phone:'13543212',
      email:'vfgsdgds@qq.com',
      time: '2017.2.10',
      role: '超管'
    },
    {
      name:'admin8',
      phone:'56546543254',
      email:'dfdsfds@qq.com',
      time: '2017.2.10',
      role: '超管'
    },
    {
      name:'admin9',
      phone:'2354321321',
      email:'sdasdasdas@qq.com',
      time: '2017.2.10',
      role: '超管'
    },
    {
      name:'admin10',
      phone:'3545321354',
      email:'assdascxz@qq.com',
      time: '2017.2.10',
      role: '超管'
    },

  ]
)

Mock.mock('/user', 'get',() => {
  return homeData
})